package com.soda.service;

import java.util.List;

import com.soda.bean.Course;
import com.soda.bean.Student;
import com.soda.bean.User;

public interface CourseService {

	

	List<Course> selectResultByPage(int page, int per);


	Course getCourseById(int id);

	int couUpdate(Course c);

	int couresStateUpdateById(int couid, int coustate);

	User getIdAndSelectTeacherName(String tname);

	int addcourse(Course c);

	List<Course> selectResultByPage(String couName, int page, int per);


	int selectTotalCount(String couName);


	List<Student> selStuByCouType(int id);


	int selectTotalStudents(int id);

	

	

}
